Added missing W to make allowed_methods an array rather than a string.