Fix minor errors.

The overwrite_guard method was called as a function not a method. Also format
output slightly better.