Replace .readable() and .writable() to .isReadable() and .isWritable()