Fix doc comment. Remove redundant cast.