Fix requiring self bug.