Initial work on function symbols with user-defined sorts