Added orientation capabilities and an example to show them.