connection: fix typos
util: add export decorator
connection: use export decorator