Updated class diagram and API specification.