WIP: Implementing querying of custom user resources through attributes.
Would occasionally not compile; hopefully this fixes build dependency order.