Add _unix_addr and refactor