Add stub methods to fix build.