Fixed new API declaration