Add stub for class Api