Fix incorrect type for name param in Base.create