add \Pdom\Record class