It would be nice if shipyards would replace any missing docked entities. So, if you BP a ship in with turrets and drones, when you lose them, coming back to the shipyard to repair your ship will also replace all of the turrets/drones that were previously missing. I'm not sure if this has already been added, since I haven't toyed with shipyards much, but if it isn't then this could be a temporary replacement to drones automatically re-docking. :p