Replace class method constant with $PROGRAM_NAME