Make the allowed method optional.