Added basic functionality with examples.