I would like to be able to set the values of localStorage and state from a Code block. Is there a way to do this? If not, could we add it?