Add serialid to the class