Add .getIn function to obj.

Closes #10.