def call_callbacks(what, tag, *params)
      @callbacks[what][tag].each do |block|
        block.call tag, *params
      end
    end
def call_callbacks(what, tag, *params)
      @callbacks[what][tag].each do |block|
        block.call tag, *params
      end
    end
:nodoc:
 Calls callbacks, for internal use.