The extensionmanager creates a classcastexception if more then framework is around and both have extensions installed. This fixes the issue.