Fixing `data.set()`, fixes #192