Inline Keys struct

This makes it a bit more messy to work with, but forcing users to import
an invisible struct is silly.