Lightweight class system for client and server.