Object-oriented scanning