Multiple inheritance (well, sort of) through prototype derivation