Add basic class derivation.