Pass a proc to after_initialize_callback of Ability instead of eval.