Wraping ship in a class.