Replaced preprocessor directive with type-safe constant and added whitespace for readability