Should be able to have this as an array instead, since block types are always numeric keys. Should make it faster and less sketchy (that `parseInt()` at the end worries me).