Factor out MethodFactory implementation
Do not need to write the URL twice