Added some documentation for later improvement.