Replaced header include with code