Fixed LayerVisitor constructors in EditSession.