Fix variable type to match returned type. No need for type-casting.