Add a Achivement API to StateManager.