Separated callbacks from platform header