Removed old charging and resizing code from Pirate.