Support loose functions in mono