Added comments based on coding conventions.