[bluebox|blb] clean up, define types returned