Clean up logic for reading from child