improved BeanLoader for connection identification