Changed default value of self to compensate for not inheriting from JModuleHelper