Added api wrapper