Adds better support for float and bool results.