Added mechanism for adding custom uniforms to objects. Need to debug it.