Modified to allow form overloading to take precedence over header.