directives to strip out mocks