Added comments accordingly to the code conventions.