extract_method on registering and deregistering servers