Use implementations from platform lib

Change-Id: Ic92b3960d73c4f6c89e43491031d386f41754b46