remove toclass, implement shadow elements for sequences