Added code to shell.