Fix reflection calls

Change-Id: I7566472a482d26d21ca68979543beed0bb52ec3e