Add simple inheritance support