Note to self: Check return codes.