Remove maximumWidth and maximumHeight calls for API consistency.