# File lib/state_machine/integrations/active_model.rb, line 437 def add_callback(type, options, &block) options[:terminator] = callback_terminator if supports_observers? @callbacks[type == :around ? :before : type].insert(-2, callback = Callback.new(type, options, &block)) add_states(callback.known_states) callback else super end end