Refactored constants for compile-time check