Use JRegistry instead of deprecated JParameter