Allow for beanNamePrefix to be passed into the config