Ease restrictions to be able to create mocks.