Fix type issue in signature of setindex!