Allow 'nice' class mocking