Fixes for system76/beansbooks#19