Final tweaks and code example additions