Simple defining of classes