Use @required_parameters in env.py instead of manually raising MissingParameterError.