Adapted since rounding was movied to main API package.