Update asset dependencies; remove obsolete directives.