Similar Items: Formal Methods for Components and Objects :