Fix minor bugs which prevented methods from loading correctly.

Change-Id: I08cd530182eed35eab0aa345624098bc782ad755
2 files changed