merged decl manager functions into class