Remove hook to be able to load temp buffer without error. Some indenting.