Added documentation and fixing visible members.