Add getProperties() method to $b.Object