Fix problem in generation of securityapi