misc: Add some extra info and debug statements.