Xd 1589 Support Groovy bean definitions for extensions