Fill out terminate method.