Fixed inheritence calling error, closes #154