Massively ugly hack to get key slices working