Core and API directives.