Updated docs for generates decorator