Made a bunch of helper methods for the Machine class, which drastically
shortend some ugly-ass methods (Adrian's words).