Added a capability auto-generate Module class.