Move common RABL stuff to base files.