Add class for xml access