do not bind TFunction because that's pointless and makes Java hate you