Added a note regarding dirty and pure functions