Compile annotations.