Redefining plsrayclass and a new function