Event name lookup by methods instead of class constants