Updated to use web resource mixin. Updated compiler interface