isWritable: stats defined but never used

Removed `stats` which not used anyway.