Add comments and rename the methods.