Add constructors for serialising packets`