Pirate class, closes #304