Added comments and constructor.