Add interface to retrieve uniforms.

Necessary after getting rid of object metadata.