Add extensions and type checking to embedded server