Beacon code added.