Fixed setMethod