Make some places of the code more generic where we currently hard-code base element numbers, by describing base elements in the Introspection class.