Add direct access check to other file as well.