diff --git a/TODO b/TODO
index 86d589680ba4ae0edb7ff05a9d6fb07531981a94..830b6d0085bce9c3fe138c43e1313ab065e11216 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,4 @@
+++ Separate attribute declarations and equations in type view.
 ++ Add thrown type descriptions.
 ++ Make current member filter more noticeable.
 ++ Add class overview as default page.
diff --git a/src/app/ast-decl/ast-decl.component.ts b/src/app/ast-decl/ast-decl.component.ts
index 9e7b3d7e15b5714be83f7f4b38c85fdff7432222..291aa19edce1114a3978ce58c38d57b65a2d832c 100644
--- a/src/app/ast-decl/ast-decl.component.ts
+++ b/src/app/ast-decl/ast-decl.component.ts
@@ -16,10 +16,10 @@ import {AstDecl} from './ast-decl';
     }
   `],
   template: `
-  <p *ngIf="_decl">JastAdd production: <br>
-    <div class="ast-decl">{{_decl.name}}: <type-ref [type]="_decl.extends"></type-ref><!--
-    --><ng-container *ngIf="_decl.components"> ::= <!--
-      --><ng-container *ngFor="let comp of _decl.components"><!--
+  <p *ngIf="decl">JastAdd production: <br>
+    <div class="ast-decl">{{decl.name}}: <type-ref [type]="decl.extends"></type-ref><!--
+    --><ng-container *ngIf="decl.components"> ::= <!--
+      --><ng-container *ngFor="let comp of decl.components"><!--
         --><div class="ast-component"><!--
         --><ng-container *ngIf="comp.kind == 'regular'"><!--
           --><ng-container *ngIf="comp.name">{{comp.name}}:</ng-container><type-ref [type]="comp.type"></type-ref> <!--
@@ -48,4 +48,8 @@ export class AstDeclComponent {
   set decl(decl: AstDecl) {
     this._decl = decl;
   }
+
+  get decl(): AstDecl {
+    return this._decl;
+  }
 }