Is this because we check JS files as well? If so, the main docs on this function should be updated