Added resize category and some comments.