Fix priblem with value type method -- it returns an unboxed result.