Support protected/private static methods.