Base and ViewContext classes