Added documentation for hack and cleaned up a coder warning.