Add arity_check option for debug mode - performs arity check in every def method