Add phpdoc.
Free resources once serve() is called.