$this should not be used in static context

Change-Id: I0375fe4f6f6b6d102a0d1d327416d7afeb02066f