Add strict mode compatibility to enable strict mode by reflection