Function type sets to '?' for functions without type sig