Replace needless .get() with straight dict lookup