Simplified compound design. Created RI implementation of all compound
types.