Added way to get beans from plugin.spring