Fixed API syntax error.