Updated unit () in type signature to highlight as a constructor.
Updated resolving var references to look up correct module.