What if the extension contexts were the parent? I guess then we'd have to have conditional properties (e.g. only set a default codec if a "codec" bean is not already defined) or possibly FactoryBeans.