Added examples for the functions.