Adding strict mode to designer.