Add class attribute to itempropblock and itemscope
Fix flake8 errors.