Big modification: getType and getShape of BFObject separated