Allow registering listener for single instance of bean type.