Don't presume there's paths for the given HTTP method.
404 response should be a constant.
Endpoints class - needs regex support.
Regular expression paths.

Not entirely happy with the implementation, but it'll stand for now.