Added an exception for '$operator=' methods when some of them are applied on wrong objects.