Make it possible to control snapping from the outside.