Remove unused imports, remove invalid consts, extend Row instead of implementing it