Add UA functions

As cba0013 broke some functionalities (and plugins), I suggest to reintroduce it. :+1: