Documentation changes

- Added tip on overriding public instance variables and some methods from cmd
- Made all examples use [source] markup