Added native object getters. Cleaned up samples.