Add getter and setters for packet