Added propagation of security parameters.