Implements some classes