MDL-39634 behat: Removing unused arguments

Also adding deprecated methods.