Base classes declaration.