support for random .lay headers.