Added fragment classes to handle maps.