Cleared up issues with the code listings in the documention