core: Agent use u_ptr for pimpl.
core: TileManager uses u_ptr for pimpl.