Fixed `allowed_method` name.