Pass security context to embed types