Allow children in vanity methods.
added tests for child attributes in vanity methods
fix the vanity tests