Define constant instead of iheriting from a struct

By inheriting you create unnecessary objects in the constat namespace.