Avoid DeprecationWarning by using options named keyword.