Extract brra stuff in a class