Add functionality for parse class annotations. Add test for this.