Remove static resources and handle them manually

This is a hack because I have no idea how this is supposed to be referenced.