Add reference link to functional method
Add default source enconding and update comments