some methods required to be implemented in C binding
modify :to_hash and write :wrap_action_except_for