Add autogenerated API