[lib] Do not require serve options.
[#39] Replace serve callback with complete event.