Condense logic to a lookup table, remove various getters/setters.