Removed self.db references

This class was ignoring configured database routers and breaking replication.