Fixed metrics.
Fixed behavior on Rubinius.