[RFC PATCH 04/20] add support for defining typed symbols