Made header function inline.