Remove references to removed class.