Removed duplicate snappingPrototype