Handle traits inheritance

Currently inheriting from more that one class/trait does not work. See issue #7.