Workaround for VetoExtension if interfaces in combination with component scanning is used for spring beans.