Simplify automatic generation of API implementation.