Adding support for reusing enums in subresources