Rewrited rsource check to be the same as on other classes.