Make WSDoor generic.