Encapsulate fbos in a class