This is required to grab field permission type flags but it isn't really a great solution. This commit already breaks a decent part of the audit<->rep<->app abstraction. Thoughts?