Adding class declaration.