Add function removed but used in package sysuser