Add media scoping to extend syntax