These two methods could have less duplication with the UDP methods.