[TASK] Added missing docblocks and changed code style.