Remove worktype attribute (currently illegal)