add support for bool, float and unsigned int return types by overloading returnValue()