Please use the interface to typehint the security context instead of the implementation