Don't generate mocks for private methods (fixes #27)