All the consts stuff (including types) seems to work