Add define guards