Removing old logref code.