Change not to use source directory. And add some docs.