a simple way to implement callbacks in guacamole, using ActiveModel