An api class can be registered