Fixed warnings in EntityView.