Prepared for conditional v10 v11 compilation