Added a clear topic method and added 'use strict'