Added basic support for children and properties. nothing's been tested yet, though. that's next.