Refactored strict mode, moved to separated method.