Fixes for system76/beansbooks#98