Improve api-response internal method name.

createPrototype wasn't affecting the prototype.