We need to add the same method into the `api-webgl` folder.