Implemented Check and CheckAll commands.