Adding getByKey static method