Allows ribbon class name properties to be used to define beans. This seems like boilerplate, but works, though not easily extensible. fixes gh-927