Remove database references