Remove comments from adaptor.