native: add and use callback type

natives? native's?