remappable resource types

TODO: does not work