suppress methods warnings when using setClass