Removes unnecessary anotations