Replaced `Must*` functions by their error returning versions.

Change-Id: 787ed1b271