Cleanup and adding Deploy::from_hash