Class AppBase<S>