Avoid converting :on option to array twice when defining commit/rollback callbacks