Allow the container view class to be specified