Replaced constants with object sharedConstants