Fix a bug where we were constantly looking at the same parent.
Implement unsupported methods and add checks for null in places.