Platform api hack