Added support for floats.