Slightly refactor to allow adding of referers by method instead of file