Added class declaration to API level example