self:: is used outside class/method scope

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>