Improved resizing performance. Removed width/height options.