Removal of dependency injected markers