Revamped inheritence entirely. Now a value stores all the inherited
values too (depending on the inheritence type). | Refactorings.