Simplifying key by using a class var