Revert "Support inherited @Configuration classes"

This reverts commit 000c844e019aa4669aa5620155da6101e1caad1c.