Extracted all capability macros to separate headers.