Removed unneeded log stuff.