Move common handlers to sol2_init_abi