Refactor asset type specification in theme API to use a class-based system, rather than tuples