Added examples for library usage.