Added more code fragments.