Fix view create method return type