API hooks to Keel and persistence layer