Api class, exceptions and tags