Updated to work w/ pbr.