Reset @@required_attributes to ensure module state not persisted.