Remove a deprecated function call