I am not sure if this is a limitation of the language, but I am having difficulty creating records using the shorthand construction way of declaring them when using inherite