Compose new classes using interfaces and traits at runtime.