Only define packages if they aren't already