Content type and size initialization is now split into two methods.