Check for existing constant rather than suppressing warning