Reorganized Max client class hierarchy and interfaces.