Cleaned code and comments.