Added call to computeStock in deparse method