Move expert/non-expert warnings to a header