improved unknown column handling, better exceptions of unknown function signatures

would prefer forWrite