fix undocumented S4 methods warnings