Block.repr -> Block.view
Line.repr -> Line.view
Use basestring
Get started on unittests for Blocks