on: Creates using properties as events, methods as callback and @set as context