Mark AttributeCheck as Serializable.