Remove commented lines from adaptor