Add reset functionality to decoder