Unnecessary logging removed.