Allowing `createRequest` to be overriden.