Improved the datoms.get method