Core non-GUI classes used by other modules.