It would be nice to get rid of the need for this to exist on the client-side.