FIXUP: Use "goto out" instead of return for clarity.