Core: Remove unused directive references