Moved perception stuff to RB.