Make SRP library context aware