Updated PHPDoc and argument list for build().