SONARPLUGINS-3510 Simplify code as the "define" function cannot be re-defined.