Working on Triangle Core API.