Adjusted how constants are set across components