Minor cleanup on UserData methods

Added Doxygen comments as well.