Added getThoughts() and related functions to the dataSource.