Updated library to work with new Timer class.