Made properties on Entity virtual to support test mocks