Some math-related classes and other minor stuff