Added stage getter to main container.
Allow null cursor provider if somebody is not interested in implementing
one.