Since max personalities and max content size is configurable per tenant, I wonder if these 2 can be taken from config file instead of hard-coding it here.