Removing doc type