Converting a function to other types: