Move returns outside of with blocks