Add width and height properties.