Added module and namespace classes, definition interface.