remove obsolete syntax `pub impl`