Various buildout for the api