Added gsub to class