Updated code samples to fit into mobile device screens.