Add mesh.getkey, renamed mesh.key to mesh.setkey