P3: Since neither `panels` nor `profile2` are dependencies for the module I think it is fair to include code which tries to make the module work without it. A code comment stating that this is not normally uses for ding2 sites would be enough IMHO.