Add stub api class.