Add docblocks. Improve base view classes