Reversing making restful api internal. Required as public generator.