Removed $core globals