Fix broken API