This commit fixes the warning: Passing the keyword argument as the last hash parameter is deprecated.