Added references and example.