Add getlex support. Object getlex isn't tested yet.