Removed patternmanager forward declarations