Hall-effect devices