Do not use constants - strings are enough
Also evaluate that the object has the same type
Removing fixed-size variables