checking callback type is pointless since this is an interal api