Convert methods to the typeReturnedWithParam convention