Get rid off all `Base` classes (still except BaseMem).
Minor changes.