Fix retrieving undefined. Update docs -- more datatypes supported.