Add api utils for contollers