LV2 support: refactoring