Units exposed through PD API

When merged this will break Bridge, but I have a check in to fix that in my repository. That can go right after.