Recursively expand partials

Change-Id: I9d46090db1ef2015a45c6d1cf253fd04cb9b874c