Created method of linking functions together in wormhole while keeping proper references.