Making width and height fields optional