Eagerly compute keys. Fixes #2