Extracts asset rendering into a dedicated mixin.