Object-Oriented Computations in Logic Programming