removed Max property because serializers use it.