Expanded Python API with limited CompositionSet support.