Merge upstream

Add changes from @kiang