Lexer: register return types in DB