Added missing propTypes. Added comments.