Add dummy implementation for setBuddyProperty.

And implement the buddy's getGroup method.
And fix warnings.