Minor move of code on finish parsing.