Implemented loading of 'color' and 'size' properties from xml.