Add year method for datetime helper.
Remove encoding definition.
Implement string helper.