Classes for Relational Data