-Added functions to topics class.