Adding checks for the constants already being defined