fixed namespace of DeclarativeGoal class