How to weight functional objects?